module diansha {
	export class item_changjing extends eui.ItemRenderer implements eui.UIComponent {
		label: eui.Label
		bg: eui.Image
		diren: eui.Image
		ceng: eui.Label
		pro: eui.ProgressBar
		public constructor() {
			super();
		}

		protected partAdded(partName: string, instance: any): void {
			super.partAdded(partName, instance);
		}


		protected childrenCreated(): void {
			super.childrenCreated();
		}
		protected dataChanged(): void {
			this.label.text = this.data.label
			this.bg.source = this.data.bg
			this.diren.source = this.data.diren
			this.ceng.text = this.data.ceng
			this.pro.maximum=this.data.xueliang;
		}
	}
}